import { _decorator, Component, Label, Node, Slider, Sprite, Toggle, Vec2, Vec3 } from 'cc';
import { UIManager } from '../UIManager';
import { LanauageManager } from '../LanauageManager';
import { GameData } from '../GameData';
import { HttpClient } from '../net/HttpClient';
import { EventManager } from '../EventManager';
import { AudioMgr } from '../AudioMgr';
const { ccclass, property } = _decorator;

@ccclass('chatItem')
export class chatItem extends Component {

    @property(Label)
    chatLal:Label = null;

    onEnable() {
        this.refresh();
    }

    refresh(){

    }

    onClickHandler(event:Event, str:string){
        if (str == "share"){

        }else if (str == "save"){
            
        }
    }
}

